package request

import (
	"hft/Database/admin"
	utils "hft/Http/Utils"
)

type ArticleReq struct {
	admin.ArticleBase
	Cont string `json:"cont"`
}

type ArtSearchInfo struct {
	IsAudit bool `form:"isAudit,omitempty" json:"isAudit,omitempty"`
	ArtType int  `form:"group,omitempty" json:"group,omitempty"`
}

type ArtSearchInfoLike struct {
	Name   string `form:"title,omitempty" json:"title,omitempty"`
	Author string `form:"author,omitempty" json:"author,omitempty"`
}

type ArtSearchReq struct {
	ArtSearchInfo
	ArtSearchInfoLike
	utils.Page
	Base
}
